//package com.mall4j.cloud.platform.infrastructure.feign;
//
//import com.mall4j.cloud.api.platform.feign.ConfigFeignClient;
//import com.mall4j.cloud.common.response.ServerResponseEntity;
//import com.mall4j.cloud.platform.application.service.SysConfigService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @author FrozenWatermelon
// * @date 2020/12/30
// */
//@RestController
//public class ConfigFeignController implements ConfigFeignClient {
//
//    @Autowired
//    private SysConfigService sysConfigService;
//
//    @Override
//    public ServerResponseEntity<String> getConfig(String key) {
//        return ServerResponseEntity.success(sysConfigService.getValue(key));
//    }
//}
